if __name__ == '__main__':
    import shutil,os
    import tqdm
    lst_file = "/data1/zyx/yks/dataset/bdd100k/testB/testb.lst"
    img_lst = [x.strip() for x in open(lst_file, "rt")]
    for img in tqdm.tqdm(img_lst):
        src_file = os.path.join("/data1/zyx/yks/dataset/bdd100k/images/bdd100k/images/100k/test", img + ".jpg")
        dst_file = os.path.join("/data1/zyx/yks/dataset/bdd100k/testB/testB", img + ".jpg")
        shutil.copy(src_file,dst_file)